package com.stack.knowyoubean.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 响应json实体
 * jdk1.8中Arraylist默认初始化长度为0,节省内存
 *
 * @author stack
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RepJson<T> implements Serializable {
    /**
     * 序列化版本号
     */
    private static final long serialVersionUID = 20200626103515L;
    /**
     * 属性
     */
    private int code;
    private int count;
    private String msg;
    private T data;

}
